﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using PSE.Deployment.SetupBase.Configuration;

namespace PSE.Deployment.SetupBase
{
    public class ModuleComparer : IEqualityComparer<Module>
    {
        public bool Equals(Module x, Module y)
        {
            return x.Id == y.Id;
        }

        public int GetHashCode(Module obj)
        {
            return (obj.Id + obj.Name).GetHashCode();
        }
    }
}
